﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.ObjectModel;

namespace PM.Entity
{
    public class Broker 
    {
        #region public methods
        /// <summary>
        /// default constructor of Broker. 
        /// </summary>
        public Broker()
        {

            this.BrokerId       = string.Empty;
            this.Name           = string.Empty;
            this.Address_1      = string.Empty;
            this.Address_2      = string.Empty;
            this.Address_3      = string.Empty;
            this.Address_4      = string.Empty;
            this.Hotline        = string.Empty;
            this.Telephone_1    = string.Empty;
            this.Telephone_2    = string.Empty;
            this.Fax            = string.Empty;
            this.CreatedDate    = DateTime.MinValue;
        }
        #endregion

        #region property

        public string BrokerId { get; set; }
        public string Name { get; set; }
        public string Address_1 { get; set; }
        public string Address_2 { get; set; }
        public string Address_3 { get; set; }
        public string Address_4 { get; set; }
        public string Hotline { get; set; }
        public string Telephone_1 { get; set; }
        public string Telephone_2 { get; set; }
        public string Fax { get; set; }
        public DateTime CreatedDate { get; set; }

        #endregion

    }

    public class BrokerCollection : Collection<Broker>
    {
        public BrokerCollection()
        {
        }
    }
}
